const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  language: state => state.app.language,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  roleType: state => state.user.roleType,
  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs,
  id: state => state.user.id,
  isShowLog: state => state.user.isShowLog,
  authState: state => state.user.authState,
  deliverNum: state => state.user.deliverNum,
  shipmentTipsNum: state => state.user.shipmentTipsNum,
  systemTime: state => state.user.systemTime,
  authUrl: state => state.user.authUrl,
  cbtAuthUrl: state => state.user.cbtAuthUrl,
  isAuthMKDCBT: state => state.user.isAuthMKDCBT,
  siteId: state => state.user.siteId,
  isFinishAuth: state => state.user.isFinishAuth,
  platformNum: state => state.user.platformNum,
  defaultAccountTypeNum: state => state.user.defaultAccountTypeNum,
  accountMKD: state => state.user.accountMKD,
  accountFalabella: state => state.user.accountFalabella,
  accountAmazon: state => state.user.accountAmazon,
  SPAuthUrl: state => state.user.SPAuthUrl,
  accountShopee: state => state.user.accountShopee,
  accountShein: state => state.user.accountShein,
  accountTikTok: state => state.user.accountTikTok,
  accountAliexpress: state => state.user.accountAliexpress,
  amount: state => state.user.amount,
  middleWorkNum: state => state.user.middleWorkNum,
  transferWorkNum: state => state.user.transferWorkNum,
  labelOrderNum: state => state.user.labelOrderNum,
  warehouseName: state => state.user.warehouseName,
  router: state => state.user.router,
  currentTimezone: state => state.user.currentTimezone,

  shipmentTableType: state => state.user.shipmentTableType,
  isNoticeSetting: state => state.user.isNoticeSetting,
  payPageType: state => state.user.payPageType,
  handlingChargeStatus: state => state.user.handlingChargeStatus,
  wechatPayCommissionPercentage: state => state.user.wechatPayCommissionPercentage,
  AliPayCommissionPercentage: state => state.user.AliPayCommissionPercentage,
  RemittanceCommissionPercentage: state => state.user.RemittanceCommissionPercentage,
  remittanceAccount: state => state.user.remittanceAccount,
  rechargeNotArrivedNum: state => state.user.rechargeNotArrivedNum,
  userPackageMaterial: state => state.user.userPackageMaterial,
  goodsTipsNum: state => state.user.goodsTipsNum,
  isHiddenPay: state => state.user.isHiddenPay,
  isHiddenPacketButton: state => state.user.isHiddenPacketButton,

  //硬件相关
  socket: state => state.printHardware.socket,
  scaleDeviceInfo: state => state.printHardware.scaleDeviceInfo,
  printers: state => state.printHardware.printers,
  currentPrinter: state => state.printHardware.currentPrinter,
  printerInterval: state => state.printHardware.printerInterval,
  currentPrinterStatus: state => state.printHardware.currentPrinterStatus,
  scalesWeight: state => state.printHardware.scalesWeight,
  printerPDFType: state => state.printHardware.printerPDFType,
  printerTestLoading: state => state.printHardware.printerTestLoading,
  appCheckStatusAppStart: state => state.printHardware.appCheckStatusAppStart,
  appCheckStatusPrintersState: state => state.printHardware.appCheckStatusPrintersState,
  appCheckStatusScalesState: state => state.printHardware.appCheckStatusScalesState,
  appCheckStatusAppVersion: state => state.printHardware.appCheckStatusAppVersion,
  appVersion: state => state.printHardware.appVersion,
  scalesStateMapSearch: state => state.printHardware.scalesStateMapSearch,
  scalesStateMapConnected: state => state.printHardware.scalesStateMapConnected,
  scalesStateMapDiscontented: state => state.printHardware.scalesStateMapDiscontented,
  scalesStateMapError: state => state.printHardware.scalesStateMapError,
  scalesStateMapTransform: state => state.printHardware.scalesStateMapTransform,
  appStartDialog: state => state.printHardware.appStartDialog,
  isLinkApp: state => state.printHardware.isLinkApp,

}
export default getters
